package com.meilai.project.entity.personnel.org;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseTreeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * Department
 *
 * @author 49030
 * @date 2019/12/4
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("department")
@ApiModel(value= "部门表")
public class Department extends BaseTreeEntity {

    @ApiModelProperty(value = "部门名称")
    String name;

    @ApiModelProperty(value = "合同前缀")
    private String contract_prefix;

    @ApiModelProperty(value = "职能描述")
    String desp;
    @ApiModelProperty(value = "是否独立核算 0：否 1：是")
    Boolean accounting;
    @ApiModelProperty(value = "负责业务")
    String business;
    @ApiModelProperty(value = "抬头")
    String head;
    @ApiModelProperty(value = "开户行")
    String bank;
    @ApiModelProperty(value = "银行卡号")
    String bank_card_num;

}
